#! /bin/sh

name=xorg-xkbcomp
version=1.4.7
revision=1
tarball_url="https://www.x.org/archive/individual/app/xkbcomp-${version}.tar.gz"
tarball_blake2b="75131c5aea7f6861b198638fcb595e741ea7847a408c008bd4b9d8498e8a4476d8f8cfe841f01626ee8ade432a6f76f375aa76dea1822402b4d6b18aeb39fc21"
hostdeps="gcc pkg-config"
deps="core-libs libxkbfile libx11"

prepare() {
    autotools_recursive_regen
}

configure() {
    autotools_configure
}

build() {
    make -j${parallelism}
}

package() {
    DESTDIR="${dest_dir}" make install

    post_package_strip
}
